AddSubreportObject Method (Section Object)

The SubReportObject method adds a SubreportObject Object to the Section Object. This method adds an empty subreport to the Section. You can then add Objects and Sections to the SubreportObject.

Syntax
Function AddSubreportObject (pSubreportName As String,
    Left As Long, Top As Long) As SubreportObject
Parameters

Parameter Description

pSubreportName

Specifies the name of the subreport that you want to add.

Left

Specifies the offset of the top left corner of the Object that you are adding relative to the top left corner of the parent Section, in twips.

Top

Specifies the offset of the top left corner of the Object that you are adding relative to the top left corner of the parent Section, in twips.

Returns

Returns a SubreportObject Object.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com